package com.example.test.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author ：dengjue
 * @date ：Created in 2021/4/14 9:27
 * @description ：
 */
@Controller
public class LoginController {


    @RequestMapping(value = {"/","/home"})
    public ModelAndView home(){
        ModelAndView mv = new ModelAndView("home");
        return mv;
    }

    @RequestMapping(value = {"/index"})
    public ModelAndView index(){
        ModelAndView mv = new ModelAndView("index");
        return mv;
    }


}
